package com.nkzy;

import com.nkzy.domain.User;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class Demospringboot07Application {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(Demospringboot07Application.class, args);
        User bean = context.getBean(User.class);
        System.out.println(bean);
    }

}
